package view.templates;

import java.awt.Color;
import java.awt.Font;

import javax.swing.Icon;
import javax.swing.JLabel;

public class MyJLabel extends JLabel {
	private static final long serialVersionUID = 1L;

	private Color color = ColorTemplate.Background.getColor();

	public MyJLabel() {
		setBackground(color);
	}

	public MyJLabel(String arg0) {
		super(arg0);
		setBackground(color);
		setHorizontalAlignment(JLabel.CENTER);
	}

	public MyJLabel(String arg0, Font font) {
		super(arg0);
		setBackground(color);
		setHorizontalAlignment(JLabel.CENTER);
		setFont(font);
	}

	public MyJLabel(Icon arg0) {
		super(arg0);
		setBackground(color);
		setHorizontalAlignment(JLabel.CENTER);
	}

	public MyJLabel(String arg0, int arg1) {
		super(arg0, arg1);
		setBackground(color);
		setHorizontalAlignment(JLabel.CENTER);
	}

	public MyJLabel(Icon arg0, int arg1) {
		super(arg0, arg1);
		setBackground(color);
		setHorizontalAlignment(JLabel.CENTER);
	}

	public MyJLabel(String arg0, Icon arg1, int arg2) {
		super(arg0, arg1, arg2);
		setBackground(color);
		setHorizontalAlignment(JLabel.CENTER);
	}
}